package com.lkl.test.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Slf4j
public class IndexController {
    @Autowired
    StringRedisTemplate stringRedisTemplate;

    @RequestMapping("test")
    public String index(){
        log.info("come in index ...");
        return "test";
    }
}
